package com.ruoyi.amuse.application.domain;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 团员审批对象 club_application
 * 
 * @author juwujie
 * @date 2024-07-19
 */
public class ClubApplication extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 申请ID */
    private Long applicationId;

    /** 社团ID */
    @Excel(name = "社团ID")
    private Long clubId;
    /* 社团名称*/
    private String clubName;
    /** 申请账号 */
    @Excel(name = "申请账号")
    private Long userAccount;

    /** 申请原因 */
    @Excel(name = "申请原因")
    private String applicationCause;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applicationTime;

    /** 申请状态（0审核1通过 2拒绝） */
    @Excel(name = "申请状态", readConverterExp = "0=审核1通过,2=拒绝")
    private String status;

    /** 删除状态（0存在 2删除） */
    @Excel(name = "删除状态", readConverterExp = "0=存在,2=删除")
    private String delFlag;

    public String getClubName() {
        return clubName;
    }

    public void setClubName(String clubName) {
        this.clubName = clubName;
    }

    public void setApplicationId(Long applicationId)
    {
        this.applicationId = applicationId;
    }

    public Long getApplicationId() 
    {
        return applicationId;
    }
    public void setClubId(Long clubId) 
    {
        this.clubId = clubId;
    }

    public Long getClubId() 
    {
        return clubId;
    }
    public void setUserAccount(Long userAccount) 
    {
        this.userAccount = userAccount;
    }

    public Long getUserAccount() 
    {
        return userAccount;
    }
    public void setApplicationCause(String applicationCause) 
    {
        this.applicationCause = applicationCause;
    }

    public String getApplicationCause() 
    {
        return applicationCause;
    }
    public void setApplicationTime(Date applicationTime) 
    {
        this.applicationTime = applicationTime;
    }

    public Date getApplicationTime() 
    {
        return applicationTime;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("applicationId", getApplicationId())
            .append("clubId", getClubId())
                .append("clubName", getClubName())
            .append("userAccount", getUserAccount())
            .append("applicationCause", getApplicationCause())
            .append("applicationTime", getApplicationTime())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
